package chapter6.No6_1_立即加载_饿汉模式.demo1;

/**
 * Created by Administrator on 2016/11/25.
 */
public class MyObject {
    private static MyObject myObject = new MyObject();

    public static MyObject getInstance() {
        return myObject;
    }
    private MyObject(){}

}
